home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1995…tember: Reference Library / Dev.CD Sep 95 RL / Dev.CD Sep 95 RL.toast / mac / Technical Documentation / develop / develop Issue 14 code / Virtual Sphere 1.0.1 / Virtual Sphere Sample Code 1.1 / MakeFile < prev    next >
Encoding:
Makefile  |  1993-03-25  |  1.8 KB  |  56 lines  |  [TEXT/MPS ]

  1. #•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
  2. # VirtualSphereSample.make
  3. #
  4. # Makefile for the "VirtualSphereSample" application.
  5. #
  6. # Author: Michael Chen, Human Interface Group / ATG
  7. # Copyright © 1991-1993 Apple Computer, Inc.  All rights reserved.
  8. #
  9. # Part of Virtual Sphere Sample Code Release v1.1
  10. #•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••*/
  11.  
  12.  
  13. ProgramName    = VirtualSphereSample
  14. #SymOptions        = -sym on
  15. LOptions        = {SymOptions}
  16.  
  17.  
  18. # Use SANE for floating point calculations
  19. COptions        = {SymOptions} -r 
  20. RealMathLibs    = {CLibraries}CSANElib.o 
  21.  
  22. # Comment the above 2 lines and uncomment the following 2 lines for
  23. # hardware floating math and '020 instruction set
  24. #COptions        = {SymOptions} -r -mc68881 -mc68020 -elems881
  25. #RealMathLibs    = {CLibraries}CSANElib881.o
  26.  
  27.  
  28. CObjs    = ∂
  29.         Sample.c.o ∂
  30.         Globals.c.o ∂
  31.         SampleAdditional.c.o ∂
  32.         Graphics3D.c.o ∂
  33.         Offscreen.c.o ∂
  34.         VirtualSphere.c.o 
  35.  
  36. LinkObjs = ∂
  37.         {RealMathLibs} ∂
  38.         "{Libraries}"Runtime.o ∂
  39.         "{Libraries}"Interface.o ∂
  40.  
  41. {ProgramName}            ƒƒ {CObjs}
  42.                             Link -o {ProgramName} {LOptions} {CObjs} {LinkObjs} 
  43.                             SetFile {ProgramName} -t APPL -c 'MOOS' -a B
  44.  
  45. {ProgramName}            ƒƒ    Sample.r Sample.h
  46.                             Rez -o {ProgramName} Sample.r -append
  47.  
  48. Globals.c.o                ƒƒ    MakeFile Globals.h Sample.h MakeFile
  49. Graphics3D.c.o            ƒƒ    MakeFile Globals.h Graphics3D.h MyMath.h Sample.h
  50. MyMath.c.o                ƒƒ    MakeFile Globals.h MyMath.h 
  51. Offscreen.c.o            ƒƒ    MakeFile Globals.h Offscreen.h 
  52. Sample.c.o                ƒƒ    MakeFile Globals.h Sample.h SampleAdditional.h
  53. SampleAdditional.c.o    ƒƒ    MakeFile Globals.h SampleAdditional.h Offscreen.h MyMath.h ∂
  54.                             Graphics3D.h Sample.h ObjectData.h VirtualSphere.h
  55. VirtualSphere.c.o        ƒƒ    MakeFile Globals.h Graphics3D.h MyMath.h VirtualSphere.h 
  56.